//
//  JDStatusNormalCell.swift
//  JDWeiBo
//
//  Created by apple on 15/7/5.
//  Copyright © 2015年 apple. All rights reserved.
//

import UIKit

class JDStatusNormalCell: JDStatusCell {

    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        
        // 配图视图
        let cons = pictureView.ff_AlignVertical(ff_AlignType.BottomLeft, referView: contentLabel, size: CGSize(width: 290, height: 90), offset: CGPoint(x: 0, y: 12))
        // 记录宽高约束
        widthCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Width)
        heighCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Height)
    }
    
    required init(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

}
